package com.xo.common.pojo.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 用户实体类，对应数据库用户表
 */
@Data
@Schema(description = "用户实体类")
public class SysUserEntity {

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer id;

    @Schema(description = "用户名", requiredMode = Schema.RequiredMode.REQUIRED)
    private String username;

    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String password;

    @Schema(description = "昵称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String nickName;

    @Schema(description = "审核状态：1待审核，2 审核通过，3 审核未通过", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer verifyStatus;

    @Schema(description = "用户类别：1 中台，2 后台，3 零售户", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer userType;

    @Schema(description = "用户图像", requiredMode = Schema.RequiredMode.REQUIRED)
    private String userPic;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime updateTime;

    @Schema(description = "租户", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long tenantId;

    @Schema(description = "手机号码", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long phone;

}
    